home *** CD-ROM | disk | FTP | other *** search
/ Collection of Internet / Collection of Internet.iso / faq / comp / macintos / comm_faq / part1 next >
Text File  |  1994-04-04  |  34KB  |  703 lines

  1. Newsgroups: comp.sys.mac.comm,news.answers,comp.answers
  2. Path: bloom-beacon.mit.edu!news.kei.com!MathWorks.Com!europa.eng.gtefsd.com!darwin.sura.net!udel!princeton!tucson.Princeton.EDU!davido
  3. From: davido@phoenix.Princeton.EDU (David L. Oppenheimer)
  4. Subject: comp.sys.mac.comm Frequently Asked Questions [1/4]
  5. Message-ID: <csmc-FAQ1_765398487@Princeton.EDU>
  6. Followup-To: poster
  7. Summary: This is the comp.sys.mac.comm Frequently Asked Questions list; its
  8.      intent is to provide information specific to Macintosh computer
  9.      communications, including modems, networks, and the like. You are
  10.      encouraged to read this FAQ before posting to the newsgroup.
  11. Originator: news@nimaster
  12. Keywords: FAQ
  13. Sender: davido@phoenix.Princeton.EDU
  14. Supersedes: <csmc-FAQ1_762705652@Princeton.EDU>
  15. Nntp-Posting-Host: tucson.princeton.edu
  16. Reply-To: csmc-faq@phoenix.Princeton.EDU
  17. Organization: Princeton University
  18. Date: Sun, 3 Apr 1994 18:42:06 GMT
  19. Approved: news-answers-request@MIT.Edu
  20. Expires: Sun, 8 May 1994 18:41:27 GMT
  21. Lines: 679
  22. Xref: bloom-beacon.mit.edu comp.sys.mac.comm:33766 news.answers:17566 comp.answers:4693
  23.  
  24. Archive-name: macintosh/comm-faq/part1
  25. Last-modified: Wed Mar 09 1994
  26.  
  27. This is the Frequently Asked Questions (FAQ) list for comp.sys.mac.comm
  28. =======================================================================
  29.  
  30. This list of frequently asked questions and answers is intended to help
  31. reduce the number of "often asked questions" that make the rounds here
  32. in comp.sys.mac.comm. Since comp.sys.mac.comm is intended as a forum to
  33. discuss telecommunication (and related issues) that are specific to the
  34. Macintosh, most questions about modems, telecommunications in general,
  35. and other non-Macintosh specific communication questions are not listed
  36. here. The proper newsgroup for such questions is usually comp.dcom.modems.
  37.  
  38. This list is posted periodically (about once a month) to the Usenet 
  39. groups comp.sys.mac.comm, news.answers, and comp.answers. Latest versions
  40. of the FAQ can be retrieved via anonymous FTP from the following sites:
  41.  
  42.      mac.archive.umich.edu: mac/misc/documentation/compsysmaccommfaq.txt
  43.  
  44.      sumex-aim.stanford.edu: info-mac/comm/info/comp-sys-mac-comm-faq.txt
  45.  
  46.      rtfm.mit.edu: pub/usenet/comp.sys.mac.comm/c.s.m.c_FAQ_[1_4]
  47.                                                 c.s.m.c_FAQ_[2_4]
  48.                                                 c.s.m.c_FAQ_[3_4]
  49.                                                 c.s.m.c_FAQ_[4_4]
  50.  
  51. It also available in the Macintosh SIG on Delphi for Delphi members.
  52.  
  53. This FAQ is purely a volunteer effort. Although every effort has been
  54. made to insure that answers are as complete and accurate as possible,
  55. NO GUARANTEE IS IMPLIED OR INTENDED. The editor and contributors have
  56. developed this FAQ as a service to Usenet. We hope you find it useful.
  57. It has been formatted in setext format for your browsing convenience;
  58. use a setext browser, such as EasyView, to take advantage of setext.
  59.  
  60. Please send your corrections and comments to the editor, David Oppenheimer, 
  61. at csmc-faq@phoenix.Princeton.EDU.
  62.  
  63.              SHARE THIS INFORMATION FREELY AND IN GOOD FAITH.
  64.              DO NOT DISTRIBUTE MODIFIED VERSIONS OF THIS FAQ.
  65.                DO NOT REMOVE THIS NOTICE OR THE TEXT ABOVE.
  66.               (INCLUDING THE 'LastModified' HEADER; THANKS.)
  67.  
  68. ================================================================================
  69.  
  70.                           **** TABLE OF CONTENTS: ****
  71.  
  72. [1] Modems and Cables
  73.  
  74.     [1.1] What kind of modem will work with my Macintosh?
  75.     [1.2] What kind of cable do I need to use my external modem with my
  76.           Macintosh? (Includes cable pinouts)
  77.     [1.3] What do V.32, V.42, bis, MNP, etc mean? 
  78.     [1.4] How fast can the Macintosh serial ports really go?
  79.     [1.5] How can I disable call-waiting when using my modem?
  80.  
  81. [2] File Formats and Conversion
  82.  
  83.     [2.1] What is a resource (or data) fork?
  84.     [2.2] What is MacBinary?
  85.     [2.3] What is BinHex? What is uuencode? What are atob/btoa ?
  86.     [2.4] What is Apple-Single/Double ?
  87.     [2.5] What do file suffixes like .hqx, .sit, .bin, etc ... mean
  88.           and how can I convert such files back to normal Macintosh
  89.           applications and documents?
  90.  
  91. [3] Macintosh File-transfers
  92.  
  93.     [3.1] What program(s) do(es) Kermit, FTP (client), and/or
  94.           X,Y,Z-MODEM and where can I get them?
  95.     [3.2] What is the latest version of ZTerm?
  96.     [3.3] What is the Communications Toolbox (CTB)?
  97.     [3.4] Are there any public-domain or shareware Communication
  98.           Toolbox tools that support Kermit, and/or X,Y,Z-MODEM?
  99.     [3.5] How can I transfer Macintosh files to/from my Macintosh and
  100.           other non-Macintosh computers (eg: mainframes, UNIX boxes,
  101.           PCs)?
  102.     [3.6] What's the best compression program to use when uploading
  103.           files to an archive or BBS? Are there any other guidelines
  104.           I should follow?
  105.     [3.7] How can I use the programs that are posted to 
  106.           comp.binaries.mac?
  107.  
  108. [4] Introduction to AppleTalk (and Remote AppleTalk)
  109.  
  110.     [4.1] What kind of hardware do I need to set up an LocalTalk
  111.           network?
  112.     [4.2] How can I change the Chooser "user" and name of my
  113.           Macintosh? Also: Why can I no longer change the name of
  114.           my hard-disk?
  115.     [4.3] What is Apple Remote Access ?
  116.     [4.4] Where can I get a Remote Access script for my modem? 
  117.  
  118. [5] Networking, MacTCP, Telnet, SL/IP, PPP
  119.  
  120.     [5.1] What is MacTCP and what kind of hardware and software do I
  121.           need to use it? 
  122.     [5.2] What is the difference between AppleTalk, LocalTalk,
  123.           EtherNet, EtherTalk, TCP/IP, etc?
  124.     [5.3] What is Telnet, and is there a Telnet program for the
  125.           Macintosh?
  126.     [5.4] Is there a FTP (client/server) program for the Macintosh?
  127.     [5.5] What are SL/IP, CSL/IP and PPP?
  128.     [5.6] How does MacTCP resolve names into IP addresses?
  129.  
  130. [6] MacX and Other Ways to Interface With UNIX
  131.  
  132.     [6.1] Can I run X-Windows on my Mac?
  133.     [6.2] How can I run MacX over a modem? Is it feasible?
  134.     [6.3] What is MacLayers and what do I need to use it?
  135.     [6.4] What are UW and MultiSession? Are there other programs like 
  136.           MacLayers?
  137.     [6.5] Is there a UNIX program that will convert between BinHex and
  138.           MacBinary?
  139.     [6.6] How can I create LaserWriter PostScript printer files and
  140.           print them on a PostScript printer connected to a UNIX
  141.           network?
  142.     [6.7] What is the Columbia AppleTalk Package (CAP)?
  143.  
  144. [7] Sending and receiving Mail and Usenet News with your Macintosh
  145.  
  146.     [7.1] How can I send/receive Internet mail with my Macintosh?
  147.     [7.2] How can I read/post Usenet news with my Macintosh?
  148.  
  149. [8] Miscellaneous
  150.  
  151.     [8.1] I don't have FTP --- How can I access the various archives
  152.           through e-mail?
  153.  
  154. Appendices:
  155.  
  156. [A]    List of Common File Suffixes and Abbreviations
  157. [B]    List of Macintosh archive sites available through the Internet
  158. [C]    Vendor Information
  159. [D]    Contributors
  160.  
  161. ================================================================================
  162.  
  163. [1] Modems and Cables
  164. =====================
  165.  
  166. [1.1] What kind of modem will work with my Macintosh?
  167. -----------------------------------------------------
  168.  
  169.         Any *external* Hayes compatible modem will work with your
  170.         Macintosh. There are too many to list or review here. The
  171.         USENET newsgroup comp.dcom.modems is a good place to ask questions
  172.         about the many different external Hayes compatible modems. Such
  173.         modems can be used with any computer (Macintosh, UNIX box,
  174.         MS-DOS PC, Amiga, etc) with a serial port (e.g.: Macintosh modem
  175.         port) interface. However, there *are* modems that are designed
  176.         specifically for use with the Macintosh. Internal Powerbook
  177.         modems, ADB modems, and internal NuBus modems are all examples.
  178.  
  179.         Assuming you wish to use an external modem, your only other
  180.         hardware consideration is to find an appropriate cable to connect
  181.         it to your Macintosh. Especially at higher baud rates (9600 baud
  182.         and up), a hardware-handshaking cable is recommended (see [1.2]
  183.         for details). There are many non-hardware-handshaking cables
  184.         being sold at reputable computer accessory stores, so it's
  185.         recommended that you ask before buying.
  186.  
  187.         Various special modems exist with unique features; the most
  188.         notable type is the dual FAX/modem. For more information,
  189.         visit comp.dcom.modems or your local dealer: there are simply
  190.         too many products to describe here.
  191.  
  192.  
  193. [1.2] What kind of cable do I need to use my external modem with my Macintosh?
  194. ------------------------------------------------------------------------------ 
  195.  
  196.         Most modems have a female DB-25 (25 pin) connector labelled
  197.         RS-232C on their backsides. All Macintoshes since the Mac Plus
  198.         use a mini DIN-8 (8 pin) connector for the two serial ports
  199.         (modem and printer). Earlier models use the larger DB-9 (9 pin)
  200.         connector. Finding a generic cable for any configuration should
  201.         not be very difficult at most computer accessory stores. They
  202.         are typically sold for around $25.
  203.  
  204.         However, especially at the higher baud rates (9600 baud and up),
  205.         a hardware handshaking cable is highly recommended. Attempting
  206.         to transfer files at high baud rates using a non-hardware-
  207.         handshaking cable will likely result in repeated transmission
  208.         errors, a drop in the transfer rate, and possibly an aborted
  209.         transmission. Since many non-hardware-handshaking cables are
  210.         still being sold, it's a good idea to ask before buying.
  211.  
  212.         If you want to "roll-your-own" or are having problems getting
  213.         your modem and your Macintosh to communicate, read on. The
  214.         serial ports on the Macintosh are not actually RS-232C ports
  215.         but are instead RS-422 compliant, a similar but better standard.
  216.         This explains some of the difficulty in implementing hardware-
  217.         handshaking.
  218.  
  219.         One way to wire your cable is as below:
  220.  
  221.                 Macintosh (DTE)                           Modem (DCE)
  222.                     DIN-8                                    DB-25
  223.  
  224.                 Pin  Signal                               Signal  Pin
  225.                  1    HSKo   ---------------------------   RTS     4
  226.                  2    HSKi   ---------------------------   CTS     5
  227.                  3    TxD-   ---------------------------   TxD     2
  228.                  4    GND    ---------------------------   GND     7
  229.                  5    RxD-   ---------------------------   RxD     3
  230.                  6    TxD+   (nc)                    .--   DSR     6
  231.                  7    GPi    (nc)                    '--   DTR    20 
  232.                  8    RxD+   ---------------------------   GND     7  
  233.  
  234.                     shield   ---------------------------   shield
  235.  
  236.                                 Figure 1.2.1
  237.  
  238.         If your modem cannot be configured to ignore DTR, or if you
  239.         are using an old 1200 baud or 2400 baud modem, the pinout in
  240.         Figure 1.2.1 is probably best. However, if you are using a
  241.         high-speed modem that can ignore DTR, and/or Remote AppleTalk,
  242.         you should instead use the pinout in Figure 1.2.2, which is
  243.         the pinout "recommended" by Apple:
  244.  
  245.                 Macintosh (DTE)                           Modem (DCE)
  246.                     DIN-8                                    DB-25
  247.  
  248.                 Pin  Signal                               Signal  Pin
  249.                  1    HSKo   ----------------------+----   RTS     4
  250.                                                    '----   DTR    20
  251.  
  252.                  2    HSKi   ---------------------------   CTS     5
  253.                  3    TxD-   ---------------------------   TxD     2
  254.  
  255.                  4    GND    ----+----------------------   GND     7
  256.                  8    RxD+   ----'
  257.  
  258.                  5    RxD-   ---------------------------   RxD     3
  259.                  6    TxD+   (nc)                    
  260.                  7    GPi    ---------------------------   DCD     8
  261.  
  262.                     shield   ---------------------------   shield
  263.  
  264.                                 Figure 1.2.2
  265.  
  266.         Note: You can find a pretty picture of this PICT by using 
  267.         ResEdit to open the Apple Modem Tool Extension CTB tool.
  268.  
  269.         Note: Be careful! Although technically, you should not be able
  270.         to damage either your modem or computer by using an incorrectly
  271.         wired cable, you should always perform a connectivity test to
  272.         double-check your wiring before using your homemade cable.
  273.         Some serial devices place auxiliary voltages on non-standard
  274.         pins.
  275.         
  276.         Note: If you are having trouble finding or soldering a mini DIN-8
  277.         connector (they can be expensive and are rather small), it is
  278.         suggested you purchase a straight-through DIN-8 to DIN-8 cable
  279.         (often sold for use with serial port switches), cut it in half,
  280.         and wire each end to a DB-25 connector that can plug into your
  281.         modem (resulting in *two* cables).
  282.  
  283.     Note: The GPi pin is unused on all but the AV Macs. The pinout
  284.     diagrams are correct.
  285.  
  286.         Note: If you are running A/UX and are having difficulties
  287.         controlling your modem from software, see the comp.unix.aux FAQ
  288.         for the latest information on an A/UX specific cable.
  289.  
  290.  
  291.         Many people routinely ask for a pinout diagram for the mini DIN-8
  292.         connector; Figure 1.2.3 shows the pinout as if you were looking at
  293.         the (female) connector on your Macintosh; the (male) cable connector
  294.         will be a mirror image. (Figure artwork by Ben Cranston)
  295.  
  296.                      Mini DIN-8 Macintosh Serial Connector Pinout
  297.  
  298.                /------###------\         1 HSKo        Output Handshake
  299.              /        ###        \                      (Zilog 8530 DTR pin)
  300.            /                       \     2 HSKi/CLK    Input Handshake *OR*
  301.           /     [|]   [|]   [|]     \                   External Clock
  302.          /       8     7     6       \   3 TxD-        Transmit data (-)
  303.         |                             |
  304.         |                             |  4 Ground      Signal ground
  305.         |     ===       ===    ===    |
  306.         |      5         4      3     |  5 RxD-        Receive data (-)
  307.         |                             |
  308.         |                             |  6 TxD+        Transmit data (+)
  309.          \----+    ===   ===    +----/
  310.           \###|     2     1     |###/    7 N/C         (no connection)
  311.            \##|                 |##/
  312.              \|                 |/       8 RxD+        Receive data (+)
  313.                \------###------/
  314.                       ###
  315.  
  316.                                 Figure 1.2.3
  317.  
  318.          Finally, it should be noted that there is no *best* RS-422 to
  319.          RS-232 cable. You'll see many different wiring diagrams posted
  320.          to Usenet. Each usually has its own purpose and champion; the
  321.          two given in this FAQ, however, are fairly generic and one or
  322.          the other should work with most modems being sold today.
  323.  
  324.  
  325. [1.3] What do V.32, V.42, bis, MNP, etc mean?
  326. ---------------------------------------------
  327.  
  328.         Because these topics are universal telecommunications issues,
  329.         they are more fully discussed in comp.dcom.modems. However, a
  330.         short description of some of the more common abbreviations and
  331.         buzzwords is given below.
  332.  
  333.         An excellent article on the subject of modems, including
  334.         a guide to buying high-speed modems, is available from
  335.         InfoMac (sumex-aim) and its mirror sites as the file
  336.         info-mac/comm/info/modem-guide-11.hqx.
  337.         
  338.            Buzzword         What it typically means
  339.         ---------------   ----------------------------------------------
  340.         bit             : binary digit; amount of information necessary
  341.                           to distinguish between two equally likely
  342.                           events (such as the value of a binary digit)
  343.         byte            : eight bits; size of a single ASCII character
  344.         bps             : bits per second
  345.         baud            : one analog signal state change; people usually
  346.                           use baud and bps interchangeable although most
  347.                           modern modems can encode multiple bits per baud
  348.         Bell 103        : 300 bps U.S. Standard
  349.         Bell 212A       : 1200 bps U.S. Standard
  350.         LAP/M           : Link Access Protocol/Modem.
  351.         MNP             : Microcom Networking Protocol (Proprietary)
  352.         MNP5            : MNP extension; 2 to 1 data compression.
  353.         V.32            : 9600bps, 4800bps
  354.         V.32bis         : 14.4Kbps, 12Kbps, 9600bps, 7200bps, 4800bps
  355.         V.32terbo       : psuedo-standard extending V.32bis to 16.8, 19.2 kbs
  356.         V.42            : MNP 4 and LAP/M modem to modem error correction
  357.         V.42bis         : LAP/M and 4-to-1 data compression.
  358.  
  359.                              Table 1.3.1
  360.  
  361.  
  362. [1.4] How fast can the Macintosh serial ports really go?
  363. --------------------------------------------------------
  364.  
  365.         The Macintosh operating system supports data rates up to 57600 baud,
  366.         but the Macintosh serial hardware can support transfer rates that
  367.         are much higher if they are externally clocked. Serial port
  368.         sound-input-devices such as the Cedar Technologies SID and
  369.         Farallon's MacRecorder, as well as AppleTalk boxes, use this trick
  370.         to achieve transfer rates greater than 100 Kbps.
  371.         
  372.         Note: Powerbooks are known to have problems at extremely high
  373.         data rates. These problems are caused by Power Manager overhead.
  374.         System 7.1 is supposed to solve or alleviate these problems.
  375.  
  376.         Note: AppleTalk being active can degrade serial port performance,
  377.         as can ethernet-network traffic. Turning of AppleTalk via
  378.         the Chooser, or disconnecting the ethernet transceiver, are
  379.         work-arounds.
  380.  
  381.         
  382. [1.5] How can I disable call-waiting when using my modem?
  383. ---------------------------------------------------------
  384.  
  385.         This varies depending on your local phone company, but often,
  386.         if you preced the phone number you wish to tone dial
  387.         with "*70," (omit the quotes but not the comma), you can
  388.         disable call-waiting FOR THAT CALL ONLY.
  389.         
  390.         If you have a strictly rotary dial line, try preceding the
  391.         phone number with "1170".
  392.  
  393.         In the United Kingdon, the code to use #43#.
  394.  
  395. ================================================================================
  396. [2] File Formats and Conversion
  397. ===============================
  398.  
  399. [2.1] What is a resource (or data) fork?
  400. ----------------------------------------
  401.  
  402.         A Macintosh file has two parts: a data fork and a resource fork.
  403.         Text files and GIF image files are examples of Macintosh files
  404.         that are usually stored completely in the data fork, and have
  405.         an empty (or nonexistent) resource fork. Applications, as a
  406.         a counter-example, store most if not all of their information
  407.         in 'resources' in the resource fork and usually have an empty
  408.         data fork.
  409.         
  410.         Because this two-forked organization of files isn't very common,
  411.         transferring Macintosh files that have non-empty resource forks
  412.         to non-Macintosh machines (such as UNIX boxes, or MS-DOS machines)
  413.         requires special encoding, described below.
  414.  
  415.  
  416. [2.2] What is MacBinary?
  417. ------------------------
  418.  
  419.         MacBinary is a standard way of taking a Macintosh file (both
  420.         resource and data forks) and creating a new file with just
  421.         a data fork. This new file can then be transferred through
  422.         machines which know nothing about the native Macintosh file
  423.         system, without losing the information stored in the resource
  424.         fork.
  425.         
  426.         MacBinary also stores other information (such as the filename,
  427.         creation and modification dates, file type and creator) about
  428.         the original file.
  429.         
  430.         If you want to store some Macintosh files on a non-Macintosh
  431.         computer, one way is to convert them to a MacBinary format file
  432.         before transferring. Note that MacBinary files are useless to
  433.         people who are not using Macintosh computers. MacBinary's
  434.         purpose is to encapsulate *all* information contained in a
  435.         Macintosh file for transport over a non-Macintosh medium. For
  436.         this reason, you should not use MacBinary and/or BinHex to
  437.         post GIF images, for example, to Usenet because (1) GIF images
  438.         contain no Macintosh specific information and (2) doing so will
  439.         make it impossible for most non-Macintosh users to display your
  440.         image.
  441.  
  442.         Although a Macintosh program (called MacBinary) does exist
  443.         to do the converting to and from MacBinary, almost all modern
  444.         Macintosh telecommunications programs have the capability of
  445.         converting and unconverting MacBinary files for you. ZTerm,
  446.         for example, can be configured to automatically detect when
  447.         a MacBinary file is being received and to convert this file
  448.         to its original representation; or, if you are uploading,
  449.         ZTerm can optionally encode the file into MacBinary before
  450.         sending. Fetch, White Knight, and most other commercial and
  451.         shareware products have equivalent or similar capabilities.
  452.         
  453.         Dennis Brothers designed the original MacBinary standard many
  454.         years ago. Yves Lempereur incorporated this standard into
  455.         his Binhex 4.0 program (see [2.3]), solving a major problem
  456.         on Compuserve. About a year later, around the time the Mac Plus
  457.         came out, group discussions on Compuserve led to an enhancement
  458.         of the original MacBinary standard. Since then, BinHex 4.0 and
  459.         the new MacBinary have become the standard way of encapsulating
  460.         Macintosh files for transferring over foreign systems throughout
  461.         the Internet, Usenet, and elsewhere.
  462.  
  463.         MacBinary I is the name given to the old MacBinary standard.
  464.         MacBinary II is the name given to the new MacBinary standard
  465.         which everybody uses today; in common usage, MacBinary means
  466.         MacBinary II.
  467.         
  468.         
  469. [2.3] (a) What is BinHex? (b) What is uuencode? (c) What are atob/btoa ?
  470. ------------------------------------------------------------------------
  471.  
  472.         (a) A "binary" file is usually intended to describe a file which
  473.         does not always have the high bit in each byte set to zero.
  474.         Text and BinHex files are the most common examples of non-binary
  475.         data. Programs and images are common examples of binary data.
  476.         MacBinary files are specially encoded binary files (see 2.2]).
  477.         
  478.         Unfortunately, many network e-mail and Usenet gateways are only
  479.         receptive to non-binary files. To make it possible to send
  480.         binary files such as Macintosh MacBinary files through e-mail
  481.         or Usenet, it is necessary to convert these files to a text-
  482.         compatible form. BinHex and uuencode are two different ways
  483.         of doing this. Both BinHex and uuencode result in files that
  484.         are larger than the original binary version.
  485.                 
  486.         BinHex 4.0, by Yves Lempereur, is a binary to text translator
  487.         that can directly encode any Macintosh document (ie: it knows
  488.         how to convert information in both the resource and data forks).
  489.         BinHex files can be easily recognized since they begin with the
  490.         line:
  491.         
  492.                 (This file must be converted with BinHex 4.0)
  493.         
  494.         and are followed by a line starting with a colon, ':'. The
  495.         BinHex encoding of the file follows, and is ended with another
  496.         colon.
  497.         
  498.         There is in fact a program called "BinHex 4.0" in various
  499.         archives, but you don't have to use it to convert files to and
  500.         from BinHex. In fact, due to some bugs, it's best to use some
  501.         of the other more powerful utilities, such as HQXer, DeHqx,
  502.         StuffIt Expander and other StuffIt programs, and Compact Pro,
  503.         to name only a few. UNIX utilities (see [6.5]) that manipulate 
  504.         BinHex, MacBinary, and other types of Macintosh files are also 
  505.         available. StuffIt Expander has the advantage of also being able 
  506.         to automatically expand StuffIt, Compact Pro, and Applelink 
  507.         archives.
  508.  
  509.         Just about every Macintosh program posted appears as a BinHex
  510.         archive. Some Macintosh archives also store their files in BinHex
  511.         to allow users who don't have (or forget to use) binary mode in
  512.         FTP to succesfully transfer files. 
  513.  
  514.         BinHex files are denoted by the suffix ".hqx". The specifications
  515.         to BinHex, should you be an interested programmer, are available
  516.         at the University of Michigan's Macintosh archive site as
  517.         mac/misc/documentation/binhex4.0specs.txt, or at InfoMac sites 
  518.         as dev/info/binhex-40-specs.txt .
  519.  
  520.         There is also a program/format called "BinHex 5.0"; it is NOT
  521.         a more advanced version of "BinHex 4.0" but rather a separate
  522.         _binary_ format (it uses the entire eight-bit ASCII character
  523.         set and is thus not suitable for news postings or e-mail)
  524.         that was the precursor to MacBinary (see [2.2]). Converting
  525.         a file with BinHex 5.0 and then using BinHex 4.0 is another way
  526.         of converting a native Macintosh files with data and resource
  527.         forks into a format that can be e-mailed or posted (and then
  528.         reconstructed). MacBinary, however, is almost always used in
  529.         preference to BinHex 5.0.
  530.  
  531.         (b) "uuencode" is a binary to text translator that serves the
  532.         same purpose as BinHex, except that it knows nothing about the
  533.         Macintosh resource/data fork structure. uuencode was designed to
  534.         allow UNIX binary files to be easily transferred through text-
  535.         only interfaces, such as e-mail. Every uuencoded file contains
  536.         a line similar to:
  537.         
  538.                 begin 644 usa-map.gif
  539.                 
  540.         followed by a series of lines of ASCII text characters (which
  541.         are normally 60 characters long and begin with the letter 'M'). 
  542.         The file ends with a line containing the word 'end'. There may 
  543.         be other special keywords included.  Usually, one won't find 
  544.         Macintosh files in uuencode format; however, most non-Macintosh 
  545.         specific binary data posted to Usenet is uuencoded, so if you 
  546.         wish to use any of this data (such as the images posted in 
  547.         alt.binaries.* and elsewhere), you will need to deal with 
  548.         uuencode. The programs 'uuencode' and 'uudecode' exist on most 
  549.         UNIX systems. If not, ask a local expert to find them. Several 
  550.         programs allow you to convert to and from uuencode using your 
  551.         Macintosh; among these are UUTool 2.3.2 and UULite 1.4.2. 
  552.         uencoded files are usually denoted by the suffix ".uu".
  553.  
  554.         There is a StuffIt translator to handle uuencode conversion.
  555.         
  556.         (c) atob and btoa are programs typically found on UNIX systems
  557.         that also convert between binary and ASCII-printable character
  558.         sets. Although not as popular as uuencode, btoa produces smaller
  559.         text-compatible versions of binary files that can be e-mailed or
  560.         posted on Usenet. Check your local man pages for details.
  561.         
  562.         There are StuffIt translators to handle atob/btoa conversion.
  563.  
  564.         
  565. [2.4] What is Apple-Single/Double ?
  566. -----------------------------------
  567.         
  568.         AppleDouble is another means of storing Macintosh files on
  569.         non-Macintosh computers or filesystems, particularly on UNIX
  570.         filesystems that also allow files to be mounted under the
  571.         Macintosh operating system via AppleShare (or an equivalent
  572.         product).
  573.  
  574.         AppleDouble files are actually two files. The data fork
  575.         of the corresponding Macintosh file is stored in a single
  576.         file just as it exists on the Macintosh using the original
  577.         filename. The resource fork is stored in a second file whose
  578.         name is obtained by prefixing the original filename with '%'.
  579.         More extensive documentation is available at ftp.apple.com.
  580.         
  581.         A few Macintosh programs decode these files; one such utility
  582.         is Tiger 1.11. The macutils UNIX utilities [see 6.5] may also
  583.         be useful. Eudora 1.4 and later also handles this format.
  584.         
  585.         If you are trying to figure out how to access the files in
  586.         the 'mac.bin' directory at ftp-archive maintained by the
  587.         University of Michigan, don't bother; all those files exist
  588.         in .hqx format in the 'mac' directory.
  589.  
  590.         
  591. [2.5] What do file suffixes like .hqx, .sit, .bin, etc ... mean and how
  592. -----------------------------------------------------------------------
  593.         can I convert such files back to normal Macintosh applications
  594.         and documents?
  595.         
  596.         Most files available by FTP or posted to Usenet are modified
  597.         twice to allow them to more easily pass through foreign computer
  598.         systems. Files may be compressed to make them smaller, and/or
  599.         they are almost always translated to either BinHex (.hqx) or
  600.         MacBinary (.bin) format (see [2.2] and [2.3] for an explanation
  601.         of these formats).
  602.         
  603.         How a Macintosh file has been translated and compressed for
  604.         transmission is indicated by its suffix.  Normally a file will
  605.         have a name similar in form to: filename.xxx.yyy, where:
  606.         
  607.                 .xxx indicates how it was compressed
  608.                 .yyy indicates how it was translated
  609.         
  610.         Usually, .xxx is one of: .cpt, .dd, .sea, .sit
  611.         Usually, .yyy is one of: .bin, .hqx, .image
  612.         
  613.         To convert a file back to its native Macintosh format, you will
  614.         typically need to go through one step per suffix. For example,
  615.         the filename "Swatch.cpt.hqx" indicates that a Compact Pro
  616.         archive (.cpt) "Swatch" has been translated to BinHex (.hqx).
  617.         To recreate the file(s) in the original archive, you must
  618.         first 'undo' the BinHex transformation, creating a Compact Pro
  619.         archive, and then open the Compact Pro archive and extract
  620.         the file(s) in the archive.
  621.  
  622.         You can use the following table to determine what Macintosh
  623.         programs decode which formats. For a more complete description
  624.         of the various Macintosh archival programs, see the excellent
  625.         FAQ for comp.sys.mac.apps.
  626.  
  627.       Suffix: .sit  .cpt  .hqx  .bin  .pit  .Z  .image  .dd  .zip  .uu  .tar
  628.   Extractors
  629. ----------------------------------------------------------------------------
  630.  StuffIt 3.0  | !     X     X     X     X    X           X     !    !     !
  631.  $ Expander   | X     X     X
  632.  Compact Pro  | *     X     X
  633.  UULite 1.4.2 |                                                     X
  634.  MacCompress  |                              X
  635.  SunTar       |             X     X     X                                 X
  636.  BinHex 5.0   |                   X
  637.  BinHex 4.0   |             X
  638.  DiskDoubler  | *                       X                X
  639.  ZipIt        |                                                X
  640.  UnZip        |                                                X
  641.  DiskCopy     |                                    X
  642.  Packit       |                         X
  643.  
  644.                                 Table 2.5.1
  645.  
  646.       ! Note: StuffIt Deluxe now includes translators for .tar, .uu,
  647.         MacBinary, atob, btoa, AppleLink packages, AppleSingle, DiskDoubler,
  648.         and UNIX compress. These translators can also be used with StuffIt
  649.         Lite. .arc and .zip translators are also distributed with StuffIt
  650.         Deluxe, but remain part of the commercial package. In order to
  651.         expand DiskDoubler archives, StuffIt uses inter-application
  652.         communication and hence requires DiskDoubler to be installed.
  653.       
  654.       $ 'Expander' refers to StuffIt Expander 3.0.7 which can decode BinHex,
  655.         StuffIt, Compact Pro, and Applelink archives. It supports drag-
  656.         and-drop under System 7. StuffIt Expander is distributed free by
  657.         Aladdin Systems Inc. 
  658.  
  659.       * StuffIt formats after 3.0 are recognized
  660.  
  661.  
  662.         The following file suffixes indicate formats that are native
  663.         to the Macintosh and which can be manipulated using the indicated
  664.         programs:
  665.         
  666.         .bin    MacBinary files; see [2.2]
  667.         .cpt    Compact Pro archive files; [see 3.6]
  668.         .dd     DiskDoubler archive files; [see 3.6]
  669.         .hqx    BinHex files; see [2.3], [3.7]
  670.         .image  Apple DiskCopy disk image file (typically used for
  671.                 distributing system software); latest version available
  672.                 via anonymous ftp from ftp.apple.com
  673.         .pit    Packit files; [see 3.6]
  674.         .sea    Self-extracting archive files; this usually denotes an
  675.                 application which can be double-clicked upon to create
  676.                 a decompressed version of the archive
  677.         .sit    StuffIt archive files; [see 3.6]
  678.         .sitd   mistakenly used to indicate files created by StuffIt
  679.                 Deluxe; *all* StuffIt files should be given the .sit
  680.                 extension (says the author!)
  681.         
  682.                                 Table 2.5.2
  683.  
  684.         
  685.         The following file suffixes indicate formats that are not native
  686.         to the Macintosh, but in most cases, files of these types can
  687.         be manipulated on the Macintosh using the indicated programs.
  688.         
  689.         .arc    MS-DOS PC archive file; ArcPop, MacArc
  690.         .arj    MS-DOS PC archive file; unArjMac
  691.         .gif    Compuserve Graphics Interchange File; many programs,
  692.                 free, shareware and commercial exist to display and/or
  693.                 modify these images; some of the popular shareware ones
  694.                 are: QuickGIF and GIFConverter.
  695.         .lzh    Amiga or old MS-DOS PC archive file; LHarc or MacLHa
  696.         .shar   UNIX shell archive file; Unshar 1.5
  697.         .uu     UNIX uuencoded files; see [2.3]
  698.         .Z      UNIX 'compress' archive file; MacCompress 3.2
  699.         .z      GNU ZIP file; typically created on UNIX
  700.         .zip    MS-DOS PC archive file; UnZip, ZipPop
  701.  
  702.                                 Table 2.5.3
  703.